import { request } from "../request";

// 获取首页数据
export function getSwiperList(data) {
    return request({
        url: "/apis/api/root-ceo-content/hpPageConfigure/pageList",
        method: "post",
        data,
    });
}

// 获取商品详情
export function getProductInfo(data) {
    return request({
        url: "/apis/root-ceo-commodity/commodityApi/commodityDetail",
        method: "post",
        data,
    });
}

// 获取热门搜索
export function getHotTagList(data) {
    return request({
        url: "/apis/root-ceo-commodity/commodityApi/searchWords",
        method: "post",
        data,
    });
}

// 获取搜索内容
export function getSearchInfoList(data) {
    return request({
        url: "/apis/root-ceo-commodity/esApi/suggestion",
        method: "post",
        data,
    });
}
